<template>
  <el-card>
    <div>
      <i
        :class="{
          'el-icon-s-fold': !isCollapse,
          'el-icon-s-unfold': isCollapse,
        }"
        @click="isCollapse = !isCollapse"
      ></i>
    </div>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item
        v-for="(item, index) in $route.matched"
        :key="index"
        style="font-size: 18px"
      >
        {{ item.name }}
      </el-breadcrumb-item>
    </el-breadcrumb>
  </el-card>
</template>

<style scoped>
.el-breadcrumb ::v-deep .el-breadcrumb__inner {
  color: #4f5c97 !important;
}
</style>